An Introduction to Context-Oriented Programming with ContextS
نویسندگان
چکیده
Context-oriented Programming, or COP, provides programmers with dedicated abstractions and mechanisms to concisely represent behavioral variations that depend on execution context. By treating context explicitly, and by directly supporting dynamic composition, COP allows programmers to better express software entities that adapt their behavior late-bound at run-time. Our paper illustrates COP constructs, their application, and their implementation by developing a sample scenario, usingContextS in theSqueak/Smalltalkprogrammingenvironment.
منابع مشابه
Identification and Distribution of Interactional Contexts in EFL Classes: The Effect of Two Contextual Factors
This study aims at empirically furthering awareness of the organization of interaction in EFL classes. Informed by the methodological framework of conversation analysis, it draws upon a corpus of 52 three-hour naturally-occurring classroom interaction to identify classroom interactional contexts based on the structuring of the pedagogic goals in turn-taking sequences. Conversation analytic proc...
متن کاملOrganizational Patterns of English Language Teachers’ Repair Practices
Despite the abundance of research on teachers’ repair practices in language classroom interaction, there are not enough conversation analytic studies on repair organization with the focus on the details of interaction in the context of EFL. Drawing on sociocultural and situated learning theories, this study explores the contingent nature of English language teachers’ org...
متن کاملValue-Oriented Policy Taking and Contextual Architecture in Historical Context
Today, the field-oriented architecture of the historical context of the most important topics in the field of architecture Because of the inherent value and practical concepts and is directly related to the knowledge, awareness and decision-making at the individual or individuals. No matter how much knowledge is more valuable than the deeper, more complete and more accurate will be extracted ...
متن کاملCollective Memory as a Measure to Evaluate the Infill Architecture Innovations in Historic Contexts (Case Study: Historic Context of Imamzadeh Yahya in Tehran)
Historic contexts remind us of an era when cities were built based on the needs, goals, and preferences of their inhabitants. In other words, the mental world of both the builders and the inhabitants was closely interrelated. But by ignoring citizens' memories and interests and their mental needs, today's interventions with rapid developments within historic contexts have led to amnesia and the...
متن کاملAn Event-Based Coordination Model for Context-Aware Applications
Context-aware applications adapt their behavior depending on changes in their environment context. Programming such applications in a modular way requires to modularize the global context into more specific contexts and attach specific behavior to these contexts. This is reminiscent of aspects and has led to the notion of context-aware aspects. This paper revisits this notion of context-aware a...
متن کامل